package cn.airfei.aircore.testcore.infrastructure.mapper;

import cn.airfei.aircore.testcore.storages.entity.Stock;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import cn.airfei.aircore.testcore.storages.dto.StockDto;
import cn.airfei.aircore.testcore.storages.vo.StockVo;
import org.apache.ibatis.annotations.Param;
import cn.airfei.aircore.core.storage.PageParam;

/**
 * <p>
 * 库存
 * </p>
 *
 * @author air
 * @since 2022-04-25
 */
public interface StockMapper extends BaseMapper<Stock> {
    Page<StockVo> index(Page page, @Param("stockDto") StockDto stockDto,@Param("pageParam") PageParam pageParam);
}
